package com.justgame.project.service.api.feign;

import com.justgame.project.cloud.common.constant.FeignErrorMsg;
import com.justgame.project.cloud.common.exception.Exc;
import org.springframework.stereotype.Component;

/**
 * SysStationOrder 微服务失败回调
 * @author ZhouWeiBo
 * @create 2022/4/20
 */
@Component
public class SysStationOrderClientFallback implements ISysStationOrderClient{
    @Override
    public Boolean hasBought(String userId, String gameId) {
        throw new Exc(FeignErrorMsg.PLEASE_WAIT);
    }
}
